{% extends "contest/base.html" %}
{% block title %}
    Categories
{% endblock %}
{% block content %}
    {% if category_list %}
    <ul>
    {% for category in category_list %}
        <li>
            <h3>
                <a href="{% url category category.id %}">{{category.name}}</a>
            </h3>
        </li>
    {% endfor %}
    </ul>
    {% else %}
        <p>No Categories found</p>
    {% endif %}
{% endblock %}